package cn.chia.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * TblRole entity. @author MyEclipse Persistence Tools
 */

public class TblRole implements java.io.Serializable {

	// Fields

	private Integer roleId;
	private String roleName;
	private Set tblUsers = new HashSet(0);

	// Constructors

	/** default constructor */
	public TblRole() {
	}

	/** minimal constructor */
	public TblRole(String roleName) {
		this.roleName = roleName;
	}

	/** full constructor */
	public TblRole(String roleName, Set tblUsers) {
		this.roleName = roleName;
		this.tblUsers = tblUsers;
	}

	// Property accessors

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return this.roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Set getTblUsers() {
		return this.tblUsers;
	}

	public void setTblUsers(Set tblUsers) {
		this.tblUsers = tblUsers;
	}

}